/* 首页适配 */

@media only screen and (max-width: 1080px) {
    .pro-right {
        width: 50%;
        float: right;
    }
    .Menubox {
        width: 80%;
    }
    .home-product {
        margin: 0rem auto 6rem;
    }
    .searce-item {
        width: 48%;
    }
    .links a {
        width: 25%;
    }
}

@media only screen and (max-width: 1000px) {
    body {
        padding-top: 6.6rem;
    }
    .box .item {
        padding: 4rem 0;
    }
    .footer-a {
        width: 52%;
    }
    .footer-a a {
        font-size: 1.6rem;
    }
    .footer-a a::after {
        width: 0;
    }
    .head {
        width: 100%;
        padding: 0.4rem 0;
    }
    .nav-menu a {
        margin: 0 1.1rem;
    }
    .search-bar {
        right: 0.5rem;
    }
    /* 产品 */
    .product-a {
        width: 32%;
    }
    .home-product-cont a:nth-child(4n) {
        margin-right: 2%;
    }
    .home-product-cont a:nth-child(3n) {
        margin-right: 0;
    }
    /* 服务 */
    .home-searve-cont a {
        margin: 0 !important;
        width: 33.33%;
    }
    .home-about-left {
        padding: 3rem 2rem 2rem;
    }
    .flex2 .news-item {
        width: 48%;
    }
}

@media only screen and (max-width: 768px) {
    .seaviceulcont p {
        height: 0 !important;
        margin: 0;
        overflow: hidden;
    }
    .container {
        padding: 0 1.5rem;
    }
    .Menubox {
        width: 100%;
    }
    .Menubox a {
        font-size: 1.6rem;
        line-height: 6rem;
    }
    .about-cont li span {
        font-size: 4rem;
    }
    .pro-left {
        width: 40%;
    }
    .footer-a,
    .footer-r {
        width: 100%;
        border: 0;
        padding: 1rem;
    }
    .footer-a {
        text-align: center;
    }
    .footer-a a::after {
        width: 1px;
        right: -0.8rem;
    }
    #swiper1 .bannerimg {
        padding-top: 42% !important;
    }
    .bannerimg img {
        width: 140% !important;
    }
    .case li {
        margin-top: 2rem;
        width: 48%;
        margin-right: 4%;
    }
    .case-text {
        padding: 1rem 0;
    }
    .case-text h5 {
        font-size: 2rem
    }
    .box01 li span {
        font-size: 4.8rem;
    }
    .box01 img {
        margin: 2rem 0 5rem;
    }
    .box01 ul li {
        font-size: 2rem;
    }
    .search-bar {
        right: 5rem;
    }
    .nav-menu-cont,
    .top-case {
        height: 0;
        display: none;
        opacity: 0;
        overflow: hidden;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #666;
    }
    .nav-menu>li {
        clear: both;
        width: 100%;
        text-align: center;
        line-height: 3.2rem;
    }
    .nav-menu {
        display: block;
        position: fixed;
        z-index: 5;
        right: -120%;
        top: 0rem;
        height: 100vh;
        padding-top: 6rem;
        background: rgb(0 0 0 / 90%);
        width: 50%;
        text-align: center;
        transition: 0.3s;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu a {
        display: block !important;
        margin: 0;
        color: #fff;
        padding: 2rem 0;
    }
    .hamburger {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        z-index: 8;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
        background: #fff;
    }
    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
        background: #fff;
    }
    .nav-menu-cont {
        position: static;
    }
    /* 产品 */
    .home-product {
        padding: 1.5rem;
    }
    .product-a {
        width: 49%;
    }
    .home-product-cont a:nth-child(3n) {
        margin-right: 2%;
    }
    .home-product-cont a:nth-child(2n) {
        margin-right: 0;
    }
    .product-cont .product-a {
        width: 49%;
    }
    .product-cont .product-a:nth-child(3n) {
        margin-right: 2%;
    }
    .product-cont .product-a:nth-child(2n) {
        margin-right: 0;
    }
    #swiper2 .swiper-button-next,
    #swiper2 .swiper-button-prev {
        display: none;
    }
    .home-searve {
        padding-top: 1rem;
    }
    .home-searve-cont {
        margin-top: 2rem;
    }
    .home-notice li {
        width: 46%;
    }
    .home-notice li a time {
        margin-left: 3rem;
    }
    .head h1 {
        padding: 0;
    }
    .links a {
        display: block;
        width: 33.3333%;
        padding: 1rem;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 540px) {
    .Contentbox img {
        width: 100% !important;
    }
    .details-nav {
        margin: 0 1rem !important;
    }
    .about-cont h5 {
        font-size: 3rem;
    }
    .Contentbox {
        padding: 2rem 1rem;
    }
    .about-cont img {
        margin: 2rem 0;
    }
    .about-cont li span {
        margin-bottom: 1rem;
        font-size: 2rem;
    }
    .about-cont ul li {
        font-size: 1.6rem;
    }
    .contact-left h4 {
        margin-top: 3rem;
    }
    .related-product {
        padding: 2rem 0;
    }
    .pro-right {
        width: 100%;
        margin: 0;
    }
    .footer .container {
        padding: 1rem 0;
    }
    .footer-r {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
    }
    .footer-a {
        width: 100%;
        padding: 0;
        border: none;
    }
    .footer-a a {
        font-size: 1.2rem;
    }
    .footer-a a::after {
        right: -0.2rem;
    }
    .searce-item {
        width: 100%;
    }
    .box01 li span {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    .box01 ul li {
        font-size: 1.6rem;
    }
    .box01 h5 {
        font-size: 2.6rem;
    }
    .tab ul li {
        font-size: 1.6rem;
        line-height: 6rem;
    }
    .tab ul li {
        font-size: 1.6rem;
        line-height: 6rem;
    }
    .zizhi li {
        width: 30.33%;
    }
    .case-details {
        max-width: 100%;
        width: 100%;
    }
    .case li {
        margin-right: 0;
    }
    .flex2 .news-item,
    .pro-left,
    .case li,
    .news-item,
    .contact-left,
    .map,
    .home-about-left,
    .homeimg,
    .home-notice li {
        width: 100% !important;
    }
    .banner {
        height: 18rem;
    }
    .head h1 {
        height: 4.8rem;
    }
    body {
        padding-top: 5.6rem;
    }
    /* 产品 */
    .home-product {
        padding: 1rem;
    }
    .product-a {
        width: 49%;
        margin-right: 2%;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    .home-product-cont a:nth-child(3n) {
        margin-right: 2%;
    }
    .home-product-cont a:nth-child(2n) {
        margin-right: 0;
    }
    .pro-show {
        display: block;
    }
    .kinds {
        width: 100%;
        line-height: 4rem;
        background: #006FCD;
        margin: 1rem 0;
        color: #fff;
    }
    .close-kind {
        display: block;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 105;
        width: 2.6rem;
        height: 2.6rem;
    }
    .close-kind::before,
    .close-kind::after {
        content: '';
        display: block;
        position: absolute;
        width: 2px;
        height: 2.4rem;
        left: 50%;
        background: #666;
        transform: rotate(45deg);
    }
    .close-kind::before {
        transform: rotate(-45deg);
    }
    .shadow {
        display: none;
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        background: rgba(0, 0, 0, 0.5);
    }
    #menuleft {
        padding-top: 3rem;
        width: 50%;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        overflow-y: auto;
        background: #FBFBFB;
        z-index: 102;
    }
    .product-top {
        margin: 0;
    }
    .product {
        max-width: 100%;
        width: 100%;
    }
    .product-cont .product-a {
        width: 49%;
    }
    .product-cont .product-a:nth-child(3n) {
        margin-right: 2%;
    }
    .product-cont .product-a:nth-child(2n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 360px) {
    .footer-a {
        border-bottom: 1px solid rgba(130, 133, 160, .24);
    }
    .footer-a a {
        width: 33%;
        line-height: 3rem;
    }
    .footer-r div {
        width: 100%;
        margin: 1rem 0;
    }
    .zizhi li {
        width: 47%;
    }
}